package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "recruitment_views_history")
public class RecruitmentViewsHistory {
    /**
     * id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "userinfo_id")
    private Integer userinfoId;

    /**
     * 发布的招聘信息id
     */
    @TableField(value = "recruitment_post_id")
    private Integer recruitmentPostId;

    /**
     * 浏览时间
     */
    @TableField(value = "views_time")
    private Date viewsTime;

    /**
     * 浏览次数
     */
    @TableField(value = "views_count")
    private Integer viewsCount;

    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_USERINFO_ID = "userinfo_id";

    public static final String COL_RECRUITMENT_POST_ID = "recruitment_post_id";

    public static final String COL_VIEWS_TIME = "views_time";

    public static final String COL_VIEWS_COUNT = "views_count";

    public static final String COL_ENABLE = "enable";
}